package com.music.service.system;

import com.alibaba.fastjson.JSONObject;
import com.music.dto.basic.UserDTO;
import com.music.dto.system.AccountDTO;
import com.music.dto.system.KaptchaDTO;

public interface AccountService {

    Integer register(UserDTO userDTO) throws Exception;

    JSONObject loginCheck(String loginName, String loginPwd, String randomId, String authCode) throws Exception;

    AccountDTO getInfo(String token) throws Exception;

    KaptchaDTO getKaptcha() throws Exception;

    JSONObject quickLogin(JSONObject object) throws Exception;
}
